import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index";
import pinia from "./store/index";
import "./utils/rem";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "./assets/styles/index.scss";
import "element-plus/theme-chalk/src/message.scss";
import "element-plus/theme-chalk/src/message-box.scss";

const app = createApp(App);
app.use(pinia);
app.use(router);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.mount("#app");
